#![feature(new_uninit,write_all_vectored)]
pub mod chunk;
pub mod rechunk;
pub mod xrechunk;
pub mod chunk_meta;
//pub mod mychunk;
pub mod backup;
pub mod restore;
pub mod container;
pub mod xcontainer;
pub mod recipe;
pub mod constants;
pub mod mylog;
pub mod config;
pub mod index;
pub mod error;

pub use pipelines::*;

#[cfg(not(feature = "avx"))]
extern crate superfeature as superfeature;
#[cfg(feature = "avx")]
extern crate superfeature_avx as superfeature;

#[macro_use]
extern crate lazy_static;
extern crate log;

#[cfg(test)]
mod tests {
	use super::*;
	#[test]
	fn it_works() -> Result<(),Box<dyn std::error::Error>> {
		config::Config::run("test_config");
		Ok(())
	}
}